package com.dog.basics.bean.dto.api.mtkj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author hangdy
 */
@Data
public class ApiShopGoodTypeAddDto {
    /**
     * 店铺类型名称
     */
    @NotNull(message = "店铺类型名称不能为空")
    @ApiModelProperty(value = "店铺类型名称", dataType = "String", required = true)
    @Size(min = 1,max = 50,message = "格式不正确")
    private String name;

    /**
     * 总商品类型ID
     */
    @NotNull(message = "总商品类型ID为空")
    @ApiModelProperty(value = "总商品类型ID", dataType = "Long", required = true)
    private Long typeId;

    /**
     * 店铺ID
     */
    @NotNull(message = "店铺ID为空")
    @ApiModelProperty(value = "店铺ID", dataType = "Long", required = true)
    private Long shopId;


}
